<footer class="footer">
    <small>
        The <%= link_to "baidu", "www.baidu.com" %>
        by 
    </small>
    <nav>
        <ul>
            <li><%= link_to "about", about_path %></li>
            <li><%= link_to "contact", contact_path %></li>
            <li><a href="www.baidu.com">baidu</li>
        </ul>
    </nav>
</footer>